﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PrintLabel.Model
{
    public class Roll
    {
        /// <summary>
        /// 自增列
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int ID { get; set; }
        /// <summary>
        /// 卷号
        /// </summary>
        public string RollIndex { get; set; } = string.Empty;
        /// <summary>
        /// 条码
        /// </summary>
        public string Barcode { get; set; } = string.Empty;
       
        /// <summary>
        /// 品名
        /// </summary>
        public string Name { get; set; } = string.Empty;
        /// <summary>
        /// 缸号
        /// </summary>
        public string Lot { get; set; } = string.Empty;
        /// <summary>
        /// 颜色
        /// </summary>
        public string Color { get; set; } = string.Empty;
       
        /// <summary>
        /// 净米数
        /// </summary>
        public decimal NetLength { get; set; }
        /// <summary>
        /// 缸差
        /// </summary>
        public decimal Difference { get; set; }
        /// <summary>
        /// 导入时间
        /// </summary>
        public DateTime UploadDate { get; set; } = DateTime.Now;
     
    }
}
